package org.ucas.kgraph.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;


@Controller
public class RouteController {

  @RequestMapping(value = "/login.html",method = RequestMethod.GET)
  public ModelAndView login(){
    return new ModelAndView("login");
  }
  
  @RequestMapping(value = "/regist.html",method = RequestMethod.GET)
  public ModelAndView regist(){
    return new ModelAndView("/regist");
  }
  
  @RequestMapping(value = "/findpassword.html",method = RequestMethod.GET)
  public ModelAndView findpassword(){
    return new ModelAndView("/findpassword");
  }
  @RequestMapping(value = "/comregist.html",method = RequestMethod.GET)
  public ModelAndView comregist(){
    return new ModelAndView("/comregist");
  }
  @RequestMapping(value = "/admin/useradmin.html",method = RequestMethod.GET)
  public ModelAndView useradmin(){
    return new ModelAndView("/admin/useradmin");
  }
  
  @RequestMapping(value = "/admin/roleadmin.html",method = RequestMethod.GET)
  public ModelAndView roleadmin(){
    return new ModelAndView("/admin/roleadmin");
  }
  
  @RequestMapping(value = "/admin/mlib.html",method = RequestMethod.GET)
  public ModelAndView mlib(){
    return new ModelAndView("/admin/mlib");
  }
  @RequestMapping(value = "/admin/mtreat.html",method = RequestMethod.GET)
  public ModelAndView mtreat(){
    return new ModelAndView("/admin/mtreat");
  }
  @RequestMapping(value = "/admin/plib.html",method = RequestMethod.GET)
  public ModelAndView plib(){
    return new ModelAndView("/admin/plib");
  }
  
  @RequestMapping(value = "/admin/selfplib.html",method = RequestMethod.GET)
  public ModelAndView selfplibadmin(){
    return new ModelAndView("/admin/selfplib");
  }
 
  @RequestMapping(value = "/admin/selfadmin.html",method = RequestMethod.GET)
  public ModelAndView selfadmin(){
    return new ModelAndView("/admin/selfadmin");
  }
  
  @RequestMapping(value = "/admin/selfmlib.html",method = RequestMethod.GET)
  public ModelAndView selfmlib(){
    return new ModelAndView("/admin/selfmlib");
  }  
  
  @RequestMapping(value = "/admin/selfmtreat.html",method = RequestMethod.GET)
  public ModelAndView selfmtreat(){
    return new ModelAndView("/admin/selfmtreat");
  }
  @RequestMapping(value = "/admin/ptreat.html",method = RequestMethod.GET)
  public ModelAndView ptreat(){
    return new ModelAndView("/admin/ptreat");
  }
  
  @RequestMapping(value = "/admin/selfptreat.html",method = RequestMethod.GET)
  public ModelAndView selfptreat(){
    return new ModelAndView("/admin/selfptreat");
  }
  
  @RequestMapping(value = "/admin/selfmctreat.html",method = RequestMethod.GET)
  public ModelAndView selfmctreat(){
    return new ModelAndView("/admin/selfmctreat");
  }
  
  @RequestMapping(value = "/admin/selfpptreat.html",method = RequestMethod.GET)
  public ModelAndView selfpptreat(){
    return new ModelAndView("/admin/selfpptreat");
  }
  @RequestMapping(value = "/admin/selfpmtreat.html",method = RequestMethod.GET)
  public ModelAndView selfpmtreat(){
    return new ModelAndView("/admin/selfpmtreat");
  }
  @RequestMapping(value = "/admin/selfpmctreat.html",method = RequestMethod.GET)
  public ModelAndView selfpmctreat(){
    return new ModelAndView("/admin/selfpmctreat");
  }

}
